{% extends "adminz/base.html" %}
{% load i18n static %}
{% block body %}
{% if has_permission %}

{% for action_name in action_names %}
<div>{{ action_name }}</div>
{% endfor %}

{% for app_label, model_infos in app_label_then_model_info.items %}
<div>{{ app_label }}</div>

{% for model_info in model_infos %}
<div><a href="{{ model_info.change_list_url }}">{{ model_info.name }}</a></div>
{% for k,v in model_info.items %}
<div>{{k}}:{{v}}</div>
{% endfor %}
{% endfor %}

{% endfor %}


<!--<form id="logout-form" method="post" action="{% url 'admin:logout' %}">-->
<form id="logout-form" method="post" action="{% url 'adminz:logout' %}">
{% csrf_token %}
 <button type="submit">{% translate 'Log out' %}</button>
</form>
{% endif %}
{% endblock %}